<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>用户修改</h2>
<form method="post" th:action="@{/user}">
    <input th:type="hidden" value="put" name="_method"/>
    <input type="hidden" name="uid" th:value="${user.uid}">
        用户名：
        <input type="text" name="uname" th:value="${user.uname}"/>
        密码：
        <input type="password" name="upwd" th:value="${user.upwd}"/>
    <input type="submit" value="修改"/>
</form>
</body>
</html>